package com.stottlerhenke.simbionic.editor.parser;

import com.stottlerhenke.simbionic.api.SB_VarType;

public class SB_ClassNode extends SB_ParseNode
{

    /**
     * Create a new class node
     * @param className the alias name for this class
     */
    public SB_ClassNode(String className)
    {
        super(SB_VarType.kStaticClass);
        _name = className;
    }


    @Override
    public SB_ErrorNode GetNextError(SB_ErrorNode lastError)
    {
        return null;
    }

    @Override
    public boolean ContainsVariable(String varName)
    {
        return false;
    }

    @Override
    public boolean ContainsFunction(String funcName)
    {
        return false;
    }

    /**
     * 
     * @return the alias name of this class
     */
    public String GetClass() {return _name; }
    
    
    @Override
    public String ToString()
    {
        return _name;
    }
    
    String _name;	//class alias

}
